<script>
$(function(){
    $('#form').submit(function(){
		$.post(location.href,$(this).serialize(),function(data){			
			alert(data.message);
			if(data.state == 1) window.location.reload();
		},'json');
        return false;
    });
});
</script>
<form id="form" method="post">
<div class="t_2">
     <div class="fl">信息录入</div>
     <div class="fr add_form"><a href="javascript:;" id="add_table"></a></div>
</div>
<div class="order_show" id="info_form">
     <table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">此次欠款信息：</td>
			<td>欠款<?=$this->loan['price']?>元，已还款<?=$this->loan['arr_price']?>元。</td>
		</tr>
		<tr>
			<td class="td1">历史总欠款：</td>
			<td><?=$this->currprice?></td>
		</tr>
		<tr>
			<td class="td1">还款金额：</td>
			<td><input type="text" name="price" /></td>
		</tr>
		
        <tr>
                <th colspan="2">
					<input type="submit" rel="submit" value="提交" />
				</th>
            </tr>
     </table>
</div>
</form>